package com.lx.consumer;

import org.springframework.amqp.support.converter.MessageConverter;
import org.springframework.amqp.support.converter.SerializerMessageConverter;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.messaging.converter.StringMessageConverter;

@SpringBootApplication
public class ConsumerApplication {
//    @Bean
//    public MessageConverter stringMessageConverter() {
//        return new SerializerMessageConverter();
//    }
    public static void main(String[] args) {
        SpringApplication.run(ConsumerApplication.class, args);
    }

}
